Title Banner


Technical Q&A's


QTMTB 32 - Correct Time Values (1-May-95)


Q How do I determine the correct time values to pass to GetMoviePict to get all the sequential frames of a QuickTime movie?

A The best way to determine the correct time to pass to get movie frames is to call the GetMovieNextInterestingTime routine repeatedly. Note that the first time you call GetMovieNextInterestingTime, its 'flags' parameter should have a value of nextTimeMediaSample+nextTimeEdgeOK to get the first frame.

For subsequent calls, the value of 'flags' should be nextTimeMediaSample, and the 'whichMediaTypes' parameter should include only tracks with visual information, VisualMediaCharacteristic, or 'eyes'. Check the Movie Toolbox chapter of the QuickTime documentation for details about the GetMovieNextInterestingTime call.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help